﻿using System;

namespace BCDto.Common.Wallet
{
    /// <summary>
    /// 表示用户钱包的对象。
    /// </summary>
    public class WalletDto
    {
        /// <summary>
        /// 钱包编号。
        /// </summary>
        public long WalletId { get; set; }

        /// <summary>
        /// 用户编号。
        /// </summary>
        public long UserId { get; set; }
        
        /// <summary>
        /// 余额。
        /// </summary>
        public decimal Balance { get; set; }
        
        /// <summary>
        /// 是否设置了支付密码
        /// </summary>
        public bool HasPayPwd { get; set; }
        /// <summary>
        /// 支付宝认证信息
        /// </summary>
        public object AlipayAuthInfo { get; set; }

        /// <summary>
        /// 微信认证信息
        /// </summary>
        public object WxPayAuthInfo { get; set; }
        /// <summary>
        /// 密码错误次数
        /// </summary>
        public int PasswordErrorCount { get; set; }
        /// <summary>
        ///支付密码 
        /// </summary>
        public string PayPassword { get; set; }
        /// <summary>
        /// 冻结时间
        /// </summary>
        public DateTime? FreezeTime { get; set; }
        
    }
}
